import Mock, { Random } from 'mockjs'
Mock.mock('/getmock', 'get', {
    'yzm': Random.integer(100000, 999999)
});
Mock.mock('/getdl','get',{
    'token':'ftgyj988fggd8',
    userName:'小田',
    sjh:/^1[3-9]\d{9}$/
});
Mock.mock('/postlist','post',[
    {
        id:1,
        title:'华为手表 9'
    },
    {
        id:2,
        title:'华为儿童手表 5'
    },
    {
        id:3,
        title:'华为儿童手表 5 pro'
    },
    {
        id:4,
        title:'华为畅享 70 pro'
    },
    {
        id:5,
        title:'华为畅享 70 pro 手机'
    },
    {
        id:6,
        title:'huawei m-pencil 第三代'
    },
    {
        id:7,
        title:'华为全能充磁吸移动电'
    },
    {
      id:8,
      title:'华为儿童手表 5 新耀版'  
    },
    {
      id:9,
      title:'华为儿童手表 5 新耀版'  
    },
    {
      id:10,
      title:'华为全能冲电器'  
    },
])